<?php
namespace app\common\model\shop\ozon;

use think\admin\Model;

/**
 * OzonWarehouseModel
 * ozon仓库
 * @Description
 * @package app\common\model\shop\ozon
 * @author shirukun
 * @date 2024-12-19 17:59
 */
class OzonWarehouseModel extends Model
{
    // 设置当前模型对应的完整数据表名称
    protected $name = 'shop_warehouse_ozon';

    // 自动写入时间戳
    protected $autoWriteTimestamp = false;

    /**
     * 日志名称
     * @var string
     */
    protected $oplogName = 'ozon仓库';

    /**
     * 日志类型
     * @var string
     */
    protected $oplogType = 'ozon仓库管理';

    /**
     * 状态
     * @return array
     */
    public static function status() : array
    {
        return [
            "new" => lang('正在激活'),
            "created" => lang('已激活'),
            "disabled" => lang('存档'),
            "blocked" => lang('已封禁'),
            "disabled_due_to_limit" => lang('暂停中'),
            "error" => lang('错误'),
        ];
    }

}